//
// Created by pzw on 23-12-29.
//

#ifndef QTTEST_COMMUNITYCAN_H
#define QTTEST_COMMUNITYCAN_H

#include <QMainWindow>

class CommunityCan : public QMainWindow {
Q_OBJECT
public:
    CommunityCan(QWidget *parent = 0, QFlags<Qt::WindowType> name = 0);

    virtual ~CommunityCan();

private:
    void sendFrames(
            const QString &sendMode,
            const QString &frameType,
            const QString &frameFormat,
            const QString &frameId,
            const QString &frameDataLen,
            const QString &frameData,
            const QString &sendCount,
            const QString &sendInterval
    );

    void stopSending();

protected:
    void closeEvent(QCloseEvent *event) override;
};


#endif //QTTEST_COMMUNITYCAN_H
